package com.tanhua.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor

public class Voice implements Serializable {
    private Integer id;
    private Long userId;// 发送语音id
    private Long receiveId;// 接收语音id
    private String voiceUrl;// 语音地址
    private Integer likeType;// 是否被发现
    @TableField(exist = false)
    private Integer publishCount;// 发送人计数
    @TableField(exist = false)
    private Integer receiveCount;// 接收人计数
    private Date created;// 发送人日期。
    private Date recived;// 接收人日期。
}
